﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="QingZhouLinYe_Web.Index" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="referrer" content="never"/>
    <meta name="referrer" content="no-referrer"/>
    <title>青州市林业护林防火智慧平台</title>
    <link rel="stylesheet" href="https://js.arcgis.com/4.20/esri/themes/light/main.css" />
    <link type="text/css" rel="styleSheet" href="HtmlCss/MyStyle.css" />
    <script src="https://js.arcgis.com/4.20/"></script>
    <script type="text/javascript" src="HtmlCss/jquery-3.7.1.min.js"></script>
    <script type="text/javascript" src="HtmlCss/BaseJavaScript.js"></script>
    <script type="text/javascript" src="HtmlCss/show2D_TianDiTu_Map.js"></script>
    <script type="text/javascript" src="HtmlCss/HuoQingJavaScript.js"></script>
    <script type="text/javascript" src="HtmlCss/LayersJavaScript.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="mainDiv">
            <div class="exitdiv">
                <asp:Button ID="exitButton" runat="server" Text="退出" CssClass="button" OnClick="exitButton_Click" />
            </div>
            <!--顶部DIV-->
            <div id="topDiv">
                <div class="top_date_Div">
                    <table>
                        <tr>
                            <td><span id="time" style="font-size: 45px"></span></td>
                            <td style="text-align: left;"><span id="week" style="font-size: 15px"></span>
                                <br />
                                <span id="date" style="font-size: 15px"></span></td>
                        </tr>
                    </table>
                </div>
                <div style="font-size:30px;color:white; text-align:center; width:100%;margin-top:8px;letter-spacing:3px;margin-left:-10px;font-family:'Microsoft YaHeiUI'">
                    青州市护林防火智慧平台
                </div>
                <div class="top_user_Div">
                    <table>
                        <tr>
                            <td>
                                <img id="userimg" src="Images/user.png" onclick="goToMap()" /></td>
                            <td valign="middle" style="text-align: center;"><% = loginUser.FangHuoDanWei.MingCheng %><br />
                                <% = loginUser.Name %></td>
                            <td>
                                <img id="exitimage" src="Images/exit.png" onclick="exituser()" /></td>
                        </tr>
                    </table>
                </div>
            </div>
            <!--中间DIV-->
            <div id="middleDiv">
                <!--中间左边DIV-->
                <div id="leftDiv">
                    left
                </div>
                <!--中间地图DIV-->
                <div id="mapDiv">
                    <div id="viewDiv"></div>
                </div>
                <!--中间右边DIV-->
                <div id="rightDiv">
                    <div id="wurenji" class="borderDiv">
                        <div id="wurenji_context" class="borderDiv_inner">
                            wurenji<br />wurenji<br />wurenji<br />
                        </div>
                    </div>
                    <div id="hulinyun" class="borderDiv">
                        <div id="hulinyuan_context" class="borderDiv_inner">
                            hulinyuan<br />hulinyuan<br />hulinyuan<br />hulinyuan<br />hulinyuan<br />
                        </div>
                    </div>
                    <div id="huoqing" class="borderDiv">
                        <div id="huoqing_context" class="borderDiv_inner">
                            huoqing<br />
                            huoqing<br />
                            huoqing<br />
                            huoqing<br />
                            huoqing<br />
                            huoqing<br />
                            huoqing<br />
                            huoqing<br />
                        </div>
                    </div>
                </div>
            </div>
            <!--底部DIV-->
            <div id="bottomDiv">
                <span id="lonlat" style="color: black;"></span>
            </div>
        </div>
        <script>
            //隐藏浏览器滚动条
            document.documentElement.style.overflowX = 'hidden';
            document.documentElement.style.overflowY = 'hidden';

            //退出按钮事件
            function exituser() {
                document.getElementById('exitButton').click();
            }

           

            shineDateTime();

            showHuoQing(5,<%=loginUser.FangHuoDanWei.Id%>,<% =loginUser.Authority%>);
            showTianDiTuMap(<% = pointX%>, <% =pointY %>, <% =mapLevel%>);

            

            test();
            showSheBei(<%= loginUser.FangHuoDanWei.Id%>,<% = loginUser.Authority%>, 1);

            showSheBei(<%= loginUser.FangHuoDanWei.Id%>,<% = loginUser.Authority%>, 2);
        </script>
    </form>
</body>
</html>
